-- GENERATED SPELL FOR [Scarlet Praetorian] --


function spell0_9448(pUnit, Event) --@Exorcism,n/a--
pUnit:FullCastSpellOnTarget(17149,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_9448', 531, 1)
end

function spell1_9448(pUnit, Event) --@Holy Strike,n/a--
pUnit:FullCastSpellOnTarget(17143,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_9448', 578, 1)
end

function Sorts_9448(pUnit, Event)
local choix_sorts_9448 = math.random(0, 1)
if choix_sorts_9448 == 0 then
pUnit:RegisterEvent('spell0_9448', 1, 1)
end
if choix_sorts_9448 == 1 then
pUnit:RegisterEvent('spell1_9448', 1, 1)
end
end

function mob9448_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_9448', math.random(1500, 3000), 1)
end

function mob9448_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9448_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9448_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(9448, 1, 'mob9448_Action')
RegisterUnitEvent(9448, 2, 'mob9448_Leave')
RegisterUnitEvent(9448, 3, 'mob9448_Kill')
RegisterUnitEvent(9448, 4, 'mob9448_Die')
